From: umherirrender Date: Tue, 15 Jul 2014 12:46:56 +0000 (+0200) Subject: Remove WikiPage::estimateRevisionCount (deprecated since 1.19) X-Git-Tag: 1.31.0-rc.0~14359^2 X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=commitdiff_plain;h=7f9508764c06f58e381cd2aa7c9a17b428baba21;p=lhc%2Fweb%2Fwiklou.git Remove WikiPage::estimateRevisionCount (deprecated since 1.19) Change-Id: Icc44f67dd6479553b44f5566d1158638e4a09e60 --- diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 9db0cceea8..a1f30e8d3a 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -338,6 +338,7 @@ changes to languages because of Bugzilla reports. and sendToUDP() from RecentChange.php. (deprecated since 1.22) * Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow(). * Removed Xml::namespaceSelector(). (deprecated since 1.19) +* Removed WikiPage::estimateRevisionCount. (deprecated since 1.19) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 47f64a2930..b62f40da5c 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -3505,17 +3505,6 @@ class WikiPage implements Page, IDBAccessObject { return $wgParser->preSaveTransform( $text, $this->mTitle, $user, $popts ); } - /** - * Get the approximate revision count of this page. - * - * @deprecated since 1.19; use Title::estimateRevisionCount() instead. - * @return int - */ - public function estimateRevisionCount() { - wfDeprecated( __METHOD__, '1.19' ); - return $this->mTitle->estimateRevisionCount(); - } - /** * Update the article's restriction field, and leave a log entry. *